/**
 * routes_config.js
 * 路由配置统一入口点
 */

// 直接定义路由，而不是通过require引用
// 研发项目API路由
const RESEARCH_ROUTES = {
    LIST: 'research/list',
    DETAIL: 'research/detail',
    ADD: 'research/add',
    EDIT: 'research/edit',
    TRIGGER: 'research/trigger',
    STATUS: 'research_project/status'
};

// 文档API路由
const DOCS_ROUTES = {
    LIST: 'docs/list',
    DETAIL: 'docs/detail',
    ADD: 'docs/add',
    EDIT: 'docs/edit',
    DELETE: 'docs/del'
};

// 用户API路由
const USER_ROUTES = {
    LOGIN: 'passport/login',
    REGISTER: 'passport/reg',
    GET_PHONE: 'passport/phone',
    MY_DETAIL: 'user/my_detail'
};

// 工作流API路由
const FLOW_ROUTES = {
    LIST: 'flow/list',
    MY_LIST: 'flow/my_list',
    DETAIL: 'flow/detail',
    ADD: 'flow/add',
    EDIT: 'flow/edit',
    TRIGGER: 'flow/trigger'
};

module.exports = {
    RESEARCH: RESEARCH_ROUTES,
    DOCS: DOCS_ROUTES,
    USER: USER_ROUTES,
    FLOW: FLOW_ROUTES
}; 